﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Windows.Media.Imaging;

namespace STEditor.Classes.Tests
{
    [TestClass]
    public class EmptyTileTests
    {
        [TestMethod]
        public void EmptyTile_Should_Have_Image_Source_Equal_To_Static_Property()
        {

            EmptyTile.EmptyImage = new STFrame();

            var emptyTile = new EmptyTile();

            Assert.AreSame(EmptyTile.EmptyImage, emptyTile.Image, "Image of EmptyTile was not set to default value");

        }
    }
}
